import "babel-polyfill";

import Vue from 'vue'
import App from './App.vue'
import Api from './api/index.js';
import VueRouter from 'vue-router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
Vue.use(VideoPlayer)


Vue.use(ElementUI);
// 导入路由
import router from './router'
import BaiduMap from 'vue-baidu-map'
// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.use(BaiduMap, {
  /* 需要注册百度地图开发者来获取你的ak */
  //ak: 'XOP1GkqnpIHIuXEeWpPWQw6ew5Fqyczl'
  ak: 'HlMs7bB8XxHiWZirZKHoQoZgPZwDU7g4'
})
import animated from 'animate.css'
Vue.use(animated)
Vue.use(VueRouter)
Vue.prototype.$api = Api;

Vue.config.productionTip = false
import store from "./store.js"
new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')
